<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<?xml version="1.0" encoding="ISO-8859-1" ?>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"

    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page errorPage="/WEB-INF/jsps/error.jsp" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Terminplaner - Paul Stranz 6ABIFS</title>
</head>
<body>
<form action="AddTerminServlet" method="post" onsubmit="button.disabled = true; return true;">
<input type="hidden" value="${terminid}" name="terminid"/>
<input type="hidden" value="${token}" name="token"/>

<h1>Termin hinzufuegen/aendern</h1>


<table>
	<tr>
		<td>Thema:</td>
		<td><input type="text" name="thema" value="${thema}"/></td>
	</tr>
	<tr>
		<td>Terminanfang:</td>
		<td><input type="text" name="terminanfang" value="${terminanfang}"/> Format: yyyy/MM/dd HH:mm</td>
	</tr>
	<tr>
		<td>Terminende:</td>
		<td><input type="text" name="terminende" value="${terminende}"/> Format: yyyy/MM/dd HH:mm</td>
	</tr>
	<tr>
	    <td>Terminart:</td>
		<td>    
		<select name="terminart">
      	  	<option>Geschaeftlich</option>
      		<option>Privat</option>
     		<option>Urlaub</option>
     		<option>Sonstiges</option>
     		<option>Geburtstag</option>
   		 </select>
        </td>
	</tr>
	<tr>
		<td>Prioritaet:</td>
			<td>    
			<select name="prioritaet">
      	  		<option>5</option>
      			<option>4</option>
     			<option>3</option>
     			<option>2</option>
     			<option>1</option>
   			 </select>
        </td>
	</tr>
	<tr>
		<td>Strasse:</td>
		<td><input type="text" name="strasse" value="${strasse}"/></td>
	</tr>
	<tr>
		<td>PLZ:</td>
		<td><input type="text" name="plz" value="${plz}"/></td>
	</tr>
	<tr>
		<td>Ort:</td>
		<td><input type="text" name="ort" value="${ort}"/></td>
	</tr>
	<tr>
		<td>Land:</td>
		<td><input type="text" name="land" value="${land}"/></td>
	</tr>
	<tr>
		<td>Beschreibung:</td>
		<td><textarea name="beschreibung" cols="50" rows="7" >${beschreibung}</textarea></td>
		 
	</tr>
	<tr>
		<td colspan="2"><input type="submit" name="button" value="speichern" /> </td>
	</tr>
	<tr>
		<td> <a href="TerminplanerServlet">zurueck</a> </td>
	</tr>
</table>
</form>

</body>
</html>